
<h1><span class="yiyi-st" id="yiyi-15">numpy.polynomial.legendre.Legendre.has_sametype</span></h1>
        <blockquote>
        <p>原文：<a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.polynomial.legendre.Legendre.has_sametype.html">https://docs.scipy.org/doc/numpy/reference/generated/numpy.polynomial.legendre.Legendre.has_sametype.html</a></p>
        <p>译者：<a href="https://github.com/wizardforcel">飞龙</a> <a href="http://usyiyi.cn/">UsyiyiCN</a></p>
        <p>校对：（虚位以待）</p>
        </blockquote>
    
<dl class="method">
<dt id="numpy.polynomial.legendre.Legendre.has_sametype"><span class="yiyi-st" id="yiyi-16"> <code class="descclassname">Legendre.</code><code class="descname">has_sametype</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="reference external" href="http://github.com/numpy/numpy/blob/v1.11.3/numpy/polynomial/_polybase.py#L192-L208"><span class="viewcode-link">[source]</span></a></span></dt>
<dd><p><span class="yiyi-st" id="yiyi-17">检查类型是否匹配。</span></p>
<div class="versionadded">
<p><span class="yiyi-st" id="yiyi-18"><span class="versionmodified">版本1.7.0中的新功能。</span></span></p>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name">
<col class="field-body">
<tbody valign="top">
<tr class="field-odd field"><th class="field-name"><span class="yiyi-st" id="yiyi-19">参数：</span></th><td class="field-body"><p class="first"><span class="yiyi-st" id="yiyi-20"><strong>其他</strong>：对象</span></p>
<blockquote>
<div><p><span class="yiyi-st" id="yiyi-21">类实例。</span></p>
</div></blockquote>
</td>
</tr>
<tr class="field-even field"><th class="field-name"><span class="yiyi-st" id="yiyi-22">返回：</span></th><td class="field-body"><p class="first"><span class="yiyi-st" id="yiyi-23"><strong>bool</strong>：boolean</span></p>
<blockquote class="last">
<div><p><span class="yiyi-st" id="yiyi-24">如果其他是与self相同的类，则为true</span></p>
</div></blockquote>
</td>
</tr>
</tbody>
</table>
</dd></dl>
